﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;

namespace OpenServe.Net.Messaging {
    [Serializable]
    public class Header {
        public delegate void MessageDelegate(object message);
        public Guid GUID { get; set; }
        public Guid Source { get; set; }
        public Guid Destination { get; set; }
        public Type ContainingType { get; set; }
        public MessageDelegate Callback { get; set; }
        public string MessageType { get; set; }
        public string Operation { get; set; }
        public Header() { GUID = Guid.NewGuid(); }
    }
}
